import request from '@/utils/request'

export function getSummary(query) {
  return request({
    url: '/api/v1/report/summary',
    method: 'get',
    params: query
  })
}

export function getHomePageSummary(query) {
  return request({
    url: '/letter/report/homepage/summary',
    method: 'get',
    params: query
  })
}
